widget: Don't do a 0-size check before snapshotting
authorBenjamin Otte <otte@redhat.com>
Sun, 8 Apr 2018 18:09:45 +0000 (20:09 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 8 Apr 2018 23:00:31 +0000 (01:00 +0200)
commite8fef1147f5113672dc8c4eb3be649421def21d9
treea06de61d453977b2018e595be1be59fdc8c4885b
parent8d8db89669dd2a02606a736b2d8ea07fd9ee3689
widget: Don't do a 0-size check before snapshotting

Even widgets with an empty allocation may still want to draw stuff.
Examples include shadows or child widgets with negative margins.

Fixes GtkEntry's progressbar not showing up anymore.
gtk/gtkwidget.c